/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package percobaan_1;

/**
 *
 * @author Liem
 */
public class Airplane implements Flyer {

    @Override
    public void takeOff() {
        System.out.println("Kecepatan ditingkatkan");
        System.out.println("Sayap diputar ke atas");
        System.out.println("Badan mulai melayang");
        System.out.println("Roda dimasukkan");
    }

    @Override
    public void land() {
        System.out.println("Kecepatan diturunkan");
        System.out.println("Sayap diputar ke bawah");
        System.out.println("Roda dikeluarkan");
        System.out.println("Badan mendarat");
    }

    @Override
    public void fly() {
        System.out.println("Atur kecepatan");
        System.out.println("Cek radar");
    }

    
    public void startEngine() {
        System.out.println("Mesin menyala");
    }

    
    public void stopEngine() {
        System.out.println("Mesin mati");
    }
    
}
